<style>
	.pregister-form-line p{
		color: #fff;
   		margin-left: 300px;
	}
</style>
<div class="pregister-icon"><img src="/module/base/images/yes.png" />MyInfo</div>
<ul class="pregister-form n-box">
	<li class="pregister-form-line"><span>Name:</span><span style="text-align: left;">${user.user_name!}</span></li>
	<li class="pregister-form-line"><span>Research Interests:</span><span style="text-align: left;">${user.user_interests!}</span></li>
	<li class="pregister-form-line"><span>Company / Institution:</span><span style="text-align: left;">${user.user_org!}</span></li>
	<li class="pregister-form-line"><span style="flex: 0 0 370px;margin-left: -70px;">Web Page (Personal or Your Supervisor's):</span><span onclick="window.open('${user.user_page!}')" style="text-align: left;color:#fff;cursor: pointer;">${user.user_page!}</span></li>
	<li class="pregister-form-line"><span>Your Email on the Web Page Provided:</span><span style="text-align: left;">${user.user_email!}</span></li>
	<li class="pregister-form-line"><span>Registration Time:</span><span style="text-align: left;">${user.user_regtime!}</span></li>
	<li class="pregister-form-line"><span>Digital Password:</span><span style="text-align: left;">${user.user_hash!}</span></li>
	<li class="pregister-form-line"><span>Electronic Signature:</span><img style="width: 200px;" src="data:image/jpg;base64,${user.user_nameimg!}"/></li>
	<li class="pregister-form-line"><span>User Level:</span></span>
	<#if user.user_level! == 1><span style="text-align: left;flex: 0 0 350px;">Ordinary users<a href='#' style='margin-left:10px;'><span id="uptoGrade" style="text-align: left;color: #93aef0;">Upgrade to Node User >></span></a></span></#if>
	<#if user.user_level! == 2><span style="text-align: left;flex: 0 0 350px;">Node Users</span></#if>
	<#if user.user_level! == 3><span style="text-align: left;flex: 0 0 350px;">Superuser<a style='margin-left:10px;' href='#'><span id="rootGrade" style="text-align: left;color: #93aef0;">Manage registered users >></span></a></span></#if></li>
	
	<#if ufs??>
		<#list ufs as uf>
			<li class="pregister-form-line"><p><a href='/api/downUserFiles/${uf.file_id!}' style="color: #b8b3ff">${uf.file_realname!}</p></li>
		</#list>
	</#if>
	
</ul>
<script>
	//升级为节点用户
	$("#uptoGrade").click(function(){
		var config = {
			url:"/api/uptoGradePage",
			width:800,
			height:500,
			title:'',
			data:{},
			callBackFunc:function(){},
			callBackErrorFunc:function(){}
		}
		ui.createWind(config);
	})
	//root用户登录 ，设置其他用户权限
	$("#rootGrade").click(function(){
		var config = {
				url:"/api/rbacPage",
				width:1260,
				height:740,
				title:'',
				data:{},
				callBackFunc:function(){},
				callBackErrorFunc:function(){}
			}
			ui.createWind(config);
	})
</script>